package org.bizming.medicine.dao;

import java.util.List;

import org.bizming.medicine.model.Medicine;

public interface RemainderDao {

	/**
	 * 未卖完记录数
	 * 
	 * @return
	 */
	public int count();

	/**
	 * 未卖完的所有记录
	 * 
	 * @return
	 */
	public List<Medicine> selectList();

	/**
	 * 未卖完中搜搜
	 * 
	 * @param word
	 * @return
	 */
	public List<Medicine> query(String word);
}
